<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      lmdb-0.9.24
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-2020-04-02">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 2020-04-02
      </h4>
      <h3>
        Chapter&nbsp;22.&nbsp;Databases
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="db.html" title="Berkeley DB-5.3.28">Prev</a>
          <p>
            Berkeley DB-5.3.28
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="mariadb.html" title=
          "MariaDB-10.4.12">Next</a>
          <p>
            MariaDB-10.4.12
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="databases.html" title=
          "Chapter&nbsp;22.&nbsp;Databases">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="lmdb" name="lmdb"></a>lmdb-0.9.24
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to lmdb
        </h2>
        <p>
          The <span class="application">lmdb</span> package is a fast,
          compact, key-value embedded data store. It uses memory-mapped
          files, so it has the read performance of a pure in-memory database
          while still offering the persistence of standard disk-based
          databases, and is only limited to the size of the virtual address
          space
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://github.com/LMDB/lmdb/archive/LMDB_0.9.24.tar.gz">https://github.com/LMDB/lmdb/archive/LMDB_0.9.24.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: c3e3474daf4a59685d154cc7fc5c99ad
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 144 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 5.9 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: less than 0.1 SBU
              </p>
            </li>
          </ul>
        </div>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/lmdb">http://wiki.linuxfromscratch.org/blfs/wiki/lmdb</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of lmdb
        </h2>
        <div class="admon note">
          <img alt="[Note]" src="../images/note.png" />
          <h3>
            Note
          </h3>
          <p>
            This package extracts to lmdb-LMDB_0.9.24.
          </p>
        </div>
        <p>
          Install <span class="application">lmdb</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">cd libraries/liblmdb &amp;&amp;
make                 &amp;&amp;
sed -i 's| liblmdb.a||' Makefile</kbd>
</pre>
        <p>
          This package does not come with a test suite.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make prefix=/usr install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <span class="command"><strong>sed ... liblmdb.a ...
          Makefile</strong></span>: The package executables use a static
          library so it must be created. This command suppresses installation
          of the static library.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Program:</strong>
              <span class="segbody">mdb_copy, mdb_dump, mdb_load, and
              mdb_stat</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Library:</strong>
              <span class="segbody">liblmdb.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">None</span>
            </div>
          </div>
        </div>
      </div>
      <p class="updated">
        Last updated on 2015-10-18 13:08:53 -0500
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="db.html" title="Berkeley DB-5.3.28">Prev</a>
          <p>
            Berkeley DB-5.3.28
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="mariadb.html" title=
          "MariaDB-10.4.12">Next</a>
          <p>
            MariaDB-10.4.12
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="databases.html" title=
          "Chapter&nbsp;22.&nbsp;Databases">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
